package com.lishe.lishe.lishe.module.auth.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;

/**
 * Created by zhcase on 2017/9/8.
 */

public  class AuthBaseFragment extends Fragment {

    public static final String TAG = AuthBaseFragment.class.getSimpleName();

    public static final int ID = -1;

    protected FragmentJumper mJumper = null;


    public AuthBaseFragment(){

    }

    public static AuthBaseFragment newInstance(){
        AuthBaseFragment instance = new AuthBaseFragment();
        Bundle bundle = new Bundle();
        instance.setArguments(bundle);
        return instance;
    }

    public  AuthBaseFragment setJumper(FragmentJumper jumper){
        mJumper = jumper;
        return this;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        title = getArguments().getString(TITLE);
//        resImageId = getArguments().getInt(IMAGE);
//        Log.d(TAG, title + " - onCreate");
    }

    public interface FragmentJumper
    {
        public void jumpToFragmentForward(int fragmentIndex);
        public void jumpToFragmentBack(int fragmentIndex);


    }

}
